<?php
Route::group(['domain' => env('VIP_DOMAIN'), 'namespace' => 'App\Http\Controllers\VipChannel\Charge', 'middleware' => 'vipChannelAuth', 'prefix' => 'api'], function () {

    Route::get('charge/getChargeInfo', 'ChargeController@getDataInfo');
    Route::get('charge/getCatalogDataInfo', 'ChargeController@getCatalogDataInfo');
    Route::get('charge/exportCatalogDataInfo', 'ChargeController@exportCatalogDataInfo');
});

Route::group(['domain' => env('VIP_DOMAIN'), 'namespace' => 'App\Http\Controllers\VipChannel\Index', 'middleware' => 'vipChannelAuth', 'prefix' => 'api'], function () {

    Route::get('index/getTotalInfo', 'IndexController@getTotalInfo');
    Route::get('index/getSiteInfo', 'IndexController@getSiteInfo');
    Route::get('index/getAccountInfo', 'IndexController@getAccountInfo');
    Route::get('index/getSiteYesterdayChargeInfo', 'IndexController@getSiteYesterdayChargeInfo');
});

